package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_douluodalu_npc_blood", desc = "斗罗/封神boss血量日志", autoSave = true, uploadCk = true, isCross = true)
public class LogDouLuoDaLuNpcBloodData extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "事件id")
    private int eventId;

    @FieldTypeAnnotation(desc = "最终血量")
    private long blood;

    @FieldTypeAnnotation(desc = "更新时间")
    private long updateTime;

    @FieldTypeAnnotation(desc = "玩家数量")
    private int userNum;
    @FieldTypeAnnotation(desc = "基数1")
    private long baseValue1;
    @FieldTypeAnnotation(desc = "基数1 起始排名")
    private int startRank1;
    @FieldTypeAnnotation(desc = "基数1 结束排名")
    private int endRank1;
    @FieldTypeAnnotation(desc = "基数1 玩家个数")
    private int num1;
    @FieldTypeAnnotation(desc = "基数1 总赚钱")
    private long earnSum1;
    @FieldTypeAnnotation(desc = "基数2")
    private long baseValue2;
    @FieldTypeAnnotation(desc = "基数2 起始排名")
    private int startRank2;
    @FieldTypeAnnotation(desc = "基数2 结束排名")
    private int endRank2;
    @FieldTypeAnnotation(desc = "基数2 玩家个数")
    private int num2;
    @FieldTypeAnnotation(desc = "基数2 总赚钱")
    private long earnSum2;
    @FieldTypeAnnotation(desc = "基数3")
    private long baseValue3;
    @FieldTypeAnnotation(desc = "基数4")
    private long baseValue4;

    public LogDouLuoDaLuNpcBloodData(int activityId, int eventId, long blood, long updateTime, int userNum, long baseValue1, int startRank1, int endRank1, int num1,
                                     long earnSum1, long baseValue2, int startRank2, int endRank2, int num2, long earnSum2, long baseValue3, long baseValue4) {
        this.activityId = activityId;
        this.eventId = eventId;
        this.blood = blood;
        this.updateTime = updateTime;
        this.userNum = userNum;
        this.baseValue1 = baseValue1;
        this.startRank1 = startRank1;
        this.endRank1 = endRank1;
        this.num1 = num1;
        this.earnSum1 = earnSum1;
        this.baseValue2 = baseValue2;
        this.startRank2 = startRank2;
        this.endRank2 = endRank2;
        this.num2 = num2;
        this.earnSum2 = earnSum2;
        this.baseValue3 = baseValue3;
        this.baseValue4 = baseValue4;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
